package com.lrkj.back.service;

import java.util.List;
import java.util.Map;

import com.lrkj.back.entity.TbProduct;
import cn.com.cbons.mamisay.parent.exception.DBException;
import cn.com.cbons.mamisay.parent.service.api.ParentService;

import com.github.pagehelper.PageInfo;

public interface TbProductService extends ParentService<TbProduct>{
	List<TbProduct> findAllProduct()throws DBException;
	
	PageInfo<TbProduct> findAllProductList(Map<String,Object> map)throws DBException;
	
	List<TbProduct> findAllProductByTypeId(Integer protypeId)throws DBException;
	
	List<TbProduct> findQixieByPackage(Map<String,Object> map)throws DBException;

	PageInfo<TbProduct> findQixieByPackagePage(Map<String, Object> map)
			throws DBException;

	List<TbProduct> findAllProducts(Map<String, Object> map) throws DBException;
	
	
	
}
